package org.ehe.erp.domain.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.ehe.common.tenant.core.TenantEntity;
/**
 * 序号生成器
 * @author :zhangnn
 * @className :SequenceGenerator
 * @description: TODO
 * @date 2025-09-06 14:40:06
 */
@Data
@TableName("erp_sequence_generator")
public class SequenceGenerator extends TenantEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 父分类ID */
    private Long parentId;

    /** 层级 */
    private Integer level;

    /** 当前序号 */
    private Integer currentSeq;
}

